<template>
  <div>
    <el-breadcrumb separator="/">
      <el-breadcrumb-item
        :to="{ path: '/' }"
        v-for="(item, index) in breadList"
        :key="index"
        v-if="item.name != '控制台'"
        >{{ item.name }}</el-breadcrumb-item
      >
    </el-breadcrumb>
  </div>
</template>

<script>
import { mapState } from "vuex";
export default {
  computed: {
    ...mapState("article", ["breadList"]),
  },
};
</script>

<style>
</style>